//给字符串追加感叹号
private fun String.addExt(amount:Int = 1) = this + "!".repeat(amount)

private fun Any.easyPrint() = println(this)

fun main() {
    println("abc".addExt(2))

    "abd".easyPrint()
    15.easyPrint()
}